<?php
/**
 * User: WL
 * Time: 12-10-13 - 上午9:14
 * File: list.inc.php
 * Project For ixdcw.com
 */
/**
 * 2013-4-1 Sameal add order by cityid an group level
 */
defined('IN_IXDCW') or exit('Access Denied');
require DT_CORE.'/'.$module.'/common.inc.php';
require DT_CORE.'/buyhelp/common.inc.php';
$navname ='video';
ViewCheck::catExists() or Prompt::listNotFound();
ViewCheck::groupListPermission() or Prompt::noPermission();
$table       = Table::name(Table::NAME_VIDEO);

$order= 'edittime desc';
$condition = 'status=3 ';
if (!empty($CAT)) {
	$condition .= "and catid={$catid}";
}
$catname = $CAT['catname'] ? $CAT['catname'] : '综合信息';
$total    = $db->count($table, $condition);
$do = new VideoModule($moduleid);
$do->setPagesize(60);
$list = $do->getList($condition,$order);

$seo_file = 'list';
include DT_INC.'/seo.inc.php';
include template('list', $module);

